<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
  <script>
    debugger
    console.log(a); // 5  3 5 unde
    var a = 1;
    function a() {
      alert(2);
    }

    var a = 3;
    console.log(a);
    function a() {
      alert(4);
    }
    a = function () {
      alert(5);
    };
    console.log(a);
    var a;
    console.log(a, "a");
  </script>
</html>
